2.8 Arrays are strange objects because there is no array class. But an array object can call methods from the Object class. Determine and explain the output from the following code:
int [ ] a = new int [10];
int [ ] b = new int [10];
a [3] = 7;
b [3] = 7;
System.out.println (a.equals(b));
 
 
View Solution
 
 
 
<< Back